package com.mmc.delay.bean;

public class Job extends AbstractJob {

    /**
     * 可以执行的时间
     */
    private long shoudRunTime;

    /**
     * 当前重试次数
     */
    private int currentRetryCount;

    public long getShoudRunTime() {
        return shoudRunTime;
    }

    public void setShoudRunTime(long shoudRunTime) {
        this.shoudRunTime = shoudRunTime;
    }

    public int getCurrentRetryCount() {
        return currentRetryCount;
    }

    public void setCurrentRetryCount(int currentRetryCount) {
        this.currentRetryCount = currentRetryCount;
    }

    @Override
    public String toString() {
        return "Job{" +
                "shoudRunTime=" + shoudRunTime +
                ", currentRetryTime=" + currentRetryCount +
                "," + super.toString()+"}";
    }
}
